//
//  RadioTableViewCell.m
//  TravelToHelp
//
//  Created by 孙昊坤 on 15/11/6.
//  Copyright © 2015年 冯贵宾. All rights reserved.
//

#import "RadioTableViewCell.h"

@implementation RadioTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self addSubviews];
    }
    return self;
}

- (void)addSubviews
{
    self.titleLL = [[UILabel alloc] initWithFrame:CGRectMake(15, 20, kScreenWidth - 30, 35)];
    self.titleLL.backgroundColor = [UIColor purpleColor];
    [self addSubview:self.titleLL];
    
    self.titleDetailLL = [[UILabel alloc] initWithFrame:CGRectMake(150, 95, kScreenWidth - 150 - 15, 70)];
    self.titleDetailLL.backgroundColor = [UIColor orangeColor];
    [self addSubview:self.titleDetailLL];
    
    self.IMGView = [[UIImageView alloc] initWithFrame:CGRectMake(15, 95, 120, 120)];
    self.IMGView.backgroundColor = [UIColor blueColor];
    [self addSubview:self.IMGView];
    
    self.tagIMGView = [[UIImageView alloc] initWithFrame:CGRectMake(150, 165, 70, 25)];
    self.tagIMGView.backgroundColor = [UIColor grayColor];
    [self addSubview:self.tagIMGView];
    
    self.playCountLL = [[UILabel alloc] initWithFrame:CGRectMake(kScreenWidth - 15 - 110, 165, 110, 25)];
    self.playCountLL.backgroundColor = [UIColor redColor];
    [self addSubview:self.playCountLL];
    
    self.lineLL = [[UILabel alloc] initWithFrame:CGRectMake(0, 75, kScreenWidth, 1)];
    self.lineLL.backgroundColor = [UIColor grayColor];
    [self addSubview:self.lineLL];
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
